package com.example.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 轮播图实体炎对应slideshow表
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("slideshow")
public class Slideshow {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("pet_id")
    private Integer petId;

    @TableField("image")
    private String image;
}